package Exercise4.exercise4;
class Chang{
	public static double meter;
	public static double foot;
	public static double footToMeter(double foot) {
		meter=0.305*foot;
		return meter;
	}
	public static double meterToFoot(double meter) {
		foot=meter/0.305;
		return foot;
	}
}
public class Test2 {
	public static void main(String[] args) {
		Chang c=new Chang();
		System.out.println("Feet\t\tMeter\t|\tMeter\t\tFeet");
		System.out.println("--------------------------------------------------------------------");
		for(int i=1;i<=10;i++) {
			double k=15.0+5.0*i;
			System.out.print(1.0*i+"\t\t"+c.footToMeter(1.0*i)+"\t|\t"+k+"\t\t"+c.meterToFoot(k)+"\n");
		}
	}
}
